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