support #=# self-closing comments from #6128, but only because it requires less code