setCharFilter: comment cleanup