I am trying to find a way to automatically remove HTML comments in release mode for two main reasons
I am using ASP.NET MVC and looking for something in the same spirit as the bundling and minification features.
Use Razor server side comments
@*
This is a server side
multiline comment
*@
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With