Putting comments in Play Framework templates

Q: How do I put comments in a Play Framework template? What is the syntax for Play Framework template comments?

A: Use @* ... *@, as shown here:

@*********************
 * This is a comment *
 *********************@

You can even 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>