removes unnecessary newline in comments