I am using full stack Thymeleaf (spring mvc, security, layout dialect, webflow) in a mid-size web application.
Ok..now that we put so much of code in the html templates
With Thymeleaf 3.0, the currently working version was
this comment will be removed by thymeleaf on the template processing
Other answers, for earlier thymeleaf versions, did not work by me. The current thymeleaf documentation is here.