By Alvin Alexander. Last updated: May 27, 2020
When you want to create Play Framework template comments, use the @* ... *@
syntax. Here's a one-line comment:
@* COMMENT *@
Here's a multiline comment:
@* * Four score * and seven year ago * our fathers ... *@
(You can format that however you want.)
You can use comments as the first line of Play Framework templates (before the function declaration):
@************************************* * The 'Hello, world' page * * * * @param msg The message to display * *************************************@ @(msg: String) <h1>Hello, world</h1>
I found this information on the Play Framework Templates Syntax page.