Blazor templates seem to follow this order to write components and pages:
@page "/users"<h1>List of users</h1>@code{ // your code here}I am wondering, if there may be any known inconveniences on using the code block before the HTML. Therefore:
@page "/users"@code{ // your code here}<h1>List of users</h1>