To comment out erb tags use the ruby comment hash symbol before the = sign in the opening tag
This is some text I want to keep
<%= @some_object.some_attribute %>
I want to keep this text but comment out the erb tag
<%#= @some_object.another_attribute %>