Razor comment syntax

stacker picture stacker · Aug 1, 2010 · Viewed 66.5k times · Source

What is the syntax for server side comment in razor view?

I want to comment this code:

/*
@helper NavItem() {

}
*/

Answer

JarrettV picture JarrettV · Nov 11, 2010
@* here is the code to comment *@