HTML comments in Spark view engine

Posted by Rory Fitzpatrick on Stack Overflow See other posts from Stack Overflow or by Rory Fitzpatrick
Published on 2010-04-14T10:43:16Z Indexed on 2010/04/14 11:13 UTC
Read the original article Hit count: 563

How can I comment out parts of a Spark view so they aren't rendered to the client?

In aspx pages I can do this:

<%-- server-side comment --%>

I had thought using three dashes would work:

<!--- server-side comment --->

but it doesn't work and I now can't find the resource where I read that.

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about spark-view-engine