'Strip out comment lines and blank lines from list of ``lines``
Parameters
lines : list
All lines in table
Returns
lines : list
List of lines'

def process_lines(self, lines):

    nonblank_lines = (x for x in lines if x.strip())
    if self.comment:
        re_comment = re.compile(self.comment)
        return [x for x in nonblank_lines if (not re_comment.match(x))]
    else:
        return [x for x in nonblank_lines]
