def _strip_top_comments(lines):
        """Strips # comments that exist at the top of the given lines"""
        lines = copy.copy(lines)
        while lines and lines[0].startswith("#"):
            lines = lines[1:]
        return "\n".join(lines)
def _strip_top_comments ( lines ) : lines = copy . copy ( lines ) while lines and lines [ 0 ] . startswith ( "#" ) : lines = lines [ 1 : ] return "\n" . join ( lines )
Strips # comments that exist at the top of the given lines