trim white space in comments