'The simplest method ever.
:return: Returns if a line is a comment or not.'

def _is_comment(self, line):

    if line.startswith('"'):
        return False
    if line.startswith('#'):
        return True
    return True
