def to_comment(value):
if value is None:<EOL><INDENT>return<EOL><DEDENT>if len(value.split('<STR_LIT:\n>')) == <NUM_LIT:1>:<EOL><INDENT>return "<STR_LIT>" + value<EOL><DEDENT>else:<EOL><INDENT>return '<STR_LIT:\n>'.join(['<STR_LIT>' + l for l in value.split('<STR_LIT:\n>')[:-<NUM_LIT:1>]])<EOL><DEDENT>
Builds a comment.