There is two solutions:
<%# comment %>
(it’s from documentation)<%/* comment */%>
(it works too, but it’s pretty ugly and uncomfortable for use)
I don’t see a difference between those examples except highlighting syntax in an IDE (example with the Brackets IDE).