Handle lines that contain a # in the outputter (i.e. inside strings)