(commentpos >= 2 and
            line[commentpos-2] not in string.whitespace))):