Fix outputting empty line when comment is removed. No line should be output.