'Adds a comment to the output stream.
Parameters
comment : str
Comment text, as a Unicode string.'

def comment(self, comment):

    self._flush()
    self.write(self.get_indentation_spaces())
    self.write(u'<!--    {}    -->\n'.format(self.xml_escape_cdata(comment)))
