def concat_code_sequences(val):
    """ Post-process a code field into a string, allowing it to be initially
    written as a sequence of strings. (which provides room to write comments) """
    if isinstance(val, list):
        return ' // '.join(x.strip() for x in val)
    return val