Inside the .cshtml file, just press cntrl+k and cntrl+c, You will see the comment is automatically added by visual studio.(alternatively, cntrl_k and cntrl+u for uncommenting.)
Or else if you want to write it manually then, just gohead with
@* Your Code *@