In this simple, blog post I will show you how to comment HTML code inside ASP.NET Core Razor page.
In my case, I have an ASP.NET Core 2.2 application with a Razor page view.
This application is an MVC based application with a Model, View and Controller.
In my case, I need to comment some code inside the Razor page and to do so I use:
@* Code is here *@
Below, you can see the example, inside my code.