'Return only non-blank lines that start with the comment regexp.  For these
lines strip out the matching characters and leading/trailing whitespace.'

def process_lines(self, lines):

    re_comment = re.compile(self.comment)
    for line in lines:
        line = line.strip()
        if (not line):
            continue
        match = re_comment.match(line)
        if match:
            out = line[match.end():]
            if out:
                (yield out)
        else:
            return
