# in application_helper.rb def comment(&block) #SWALLOW THE BLOCK end # in code <% comment do %> stuff to comment out here <% end %>