 <p>You can also comment a block with =begin and =end like this:</p> <pre><code>&lt;% =begin %&gt; &lt;%= link_to "Sign up now!", signup_path, :class =&gt; "signup_button round" %&gt; &lt;% =end %&gt; </code></pre>