Search code examples
templatesscalacommentsplayframework

What is the server side comment tag in scala templates in play framework?


I need to comment my code server side (not rendered to client) in scala templates in play framework. What is the format of this tag?


Solution

  • This works:

    @{ /* Comment */ }
    

    But I was hoping something even better (requiring less typing) is out there.