How do you declare a comment using the Razor view engine? [duplicate]

Start the comment block with @*, end the comment block with *@.

Similar to C# (/* and */)

@* single line comment *@

or

@*
    this is a comment
    this is another
*@

More on Razor comments on the Gu’s blog.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)