def format_comment(self, comment, link_resolver):
if comment:<EOL><INDENT>return self._format_comment(comment, link_resolver)<EOL><DEDENT>return '<STR_LIT>'<EOL>
Format a comment

        Args:
            comment: hotdoc.core.comment.Comment, the code comment
            to format. Can be None, in which case the empty string will
            be returned.
        Returns:
            str: The formatted comment.