<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_comment(self, comment):
 """ Add a comment to the database. Args: comment (hotdoc.core.Comment):
 comment to add """

        if not comment:
            return

        self.__comments[comment.name] = comment
        self.comment_added_signal(self, comment)