handle comment# case, remove continuous newline