How do you comment out html mixed with ruby code?
some text <% ... %> more text <%= ... %> something else <% ... %>
In js
For block comments in templates, my text editor (Komodo) finds this variation on @Garfield's recommendation least obnoxious:
<%# A long multiline comment in a rails template ... # line 2 # and so on ... # %>