JavaScript server-side comments

JavaScript server-side comments

  

When using the JavaScript attribute of a page/web-block, how can I add server-side comments within the code that would not be rendered to the client? We have some internal notes we put near the code for reference, but we would not like it to be sent to the browsers. E.g.

// JavaScript comments get rendered to the client

<%-- this is literally rendered which becomes a JavaScript error --%>


Useful to mention: Platform 10.0.705.0 / Java stack / On-premises

Hi,


don't think this can be done.

It is a good suggestion though, so I would make it an idea :)