Clean up "# end ..." comments