+ Start a Discussion
Tobias HaggeTobias Hagge 

Comment syntax for apex in VF

/* */ is supposed to work, but doens't exclude anything from the page. How do you write comments on a VF page?

Anoop yadavAnoop yadav
Use the below.
<!-- Your Comments -->
Subrat kumar RaySubrat kumar Ray
/* text */ is for APEX code. For visualforce you can use <!-- text --> as suggested by Anoop.