Yes, it can span several lines of text, But is it clever enough to: <%# <% for photo in @listing.photos %> <% and more Ruby processing in an rhtml file %> %> The request is primarily for 2 things within an rhtml file (possibly other applications): 1) block comments of ERb code 2) non-processing / non-display of these block comments Matt On Mon, 2007-01-01 at 00:39 +0900, James Edward Gray II wrote: > On Dec 30, 2006, at 10:55 PM, matt wrote: > > > PS. I'm wanting to request that there be a way to make comments in > > large chunks (like /* */ in C or <!-- --> in HTML), but in a way > > that I > > can comment my .rhtml files, without the comments being passed on > > to the > > generated code. This way I can make proper documentation comments > > in my > > code, without having to give away any information to the general > > public. > > ERb supports this today: > > $ cat erb_comment.txt > This is > <%# This is an ERb comment... > it's clever enough to let it span multiple lines -%> > a test. > $ erb -T - erb_comment.txt > This is > a test. > > James Edward Gray II > >