I am working on a existing VF code and added a comment like this, it appears on the page.
// Bla Bla Bla
I changed the comment to this, but receive the below error.
<! Bla Bla Bla>
"The content of elements must consist of well-formed character data or
markup".
What is the proper syntax for adding a comment to a visualforce page?
Best Answer
You should use the XML comment syntax, which is: