def process_composite_comment(self, level, comments, key):
if key not in comments:<EOL><INDENT>comment = "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>value = comments[key]<EOL>spacer = self.whitespace(level, <NUM_LIT:0>)<EOL>if isinstance(value, list):<EOL><INDENT>comments = [self.format_comment(spacer, v) for v in value]<EOL>comment = self.newlinechar.join(comments)<EOL><DEDENT>else:<EOL><INDENT>comment = self.format_comment(spacer, value)<EOL><DEDENT><DEDENT>return comment<EOL>
Process comments for composites such as MAP, LAYER etc.