Razor comment syntax

后端 未结 4 722
自闭症患者
自闭症患者 2020-12-02 10:09

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

I want to comment this code:

/*
@helper NavItem() {

}
*/
4条回答
  •  醉酒成梦
    2020-12-02 10:43

    If its in your view, couldn't you use the standard HTML or the .NET style <%-- .. --%>?

提交回复
热议问题