code: def comment (self, data):
          
          data = data.encode(self.encoding, "ignore")
          self.fd.write("<!--%s-->" % data)
docs: Print HTML comment.
  
          @param data: the comment
          @type data: string
          @return: None