code: def set_doc_comment(self, doc, comment):
          
          if not self.doc_comment_set:
              self.doc_comment_set = True
              doc.comment = comment
          else:
              raise CardinalityError('Document::Comment')
docs: Sets document comment, Raises CardinalityError if
          comment already set.