compile error when //------------\\ is in my code

You'd be better off using block comments if you want to underline text.

/* NEW SECTION
   ----------- */