Not so long ago we started to insert these artificially when expanding
certain macro-like constructs; zap them as cluttering what actually
results from user input.
                  /* Find the end of the current expanded macro line.  */
                  s = find_end_of_line (input_line_pointer, flag_m68k_mri);
 
-                 if (s != last_eol)
+                 if (s != last_eol
+                     && !startswith (input_line_pointer,
+                                     !flag_m68k_mri ? " .linefile "
+                                                    : " linefile "))
                    {
                      char *copy;
                      size_t len;