<p>Is there a way to comment out markup in an <code>.ASPX</code> page so that it isn't delivered to the client? I have tried the standard comments <code>&lt;!-- --&gt;</code> but this just gets delivered as a comment and doesn't prevent the control from rendering. </p>

Another way assuming it's not server side code you want to comment out is...
```
```
<asp:panel runat="server" visible="false">
    html here
</asp:panel>
```
```