Commenting out a line of program

K

Karen

I want to comment out a line of programming so I don't have to delete because
I want to not forget. What do I need to put in? Just like some programs
require a / before and after the line or single quotes. Thnx.
Karen
 
C

clintonG

<!-- HTML Comments -->

' ASP Comments on single or multiple lines
' or multiple lines

/* JavaScript comments
on multiple lines */

// Javascript comments on single line

/* CSS comments on single or multiple lines */
 
K

Kevin Spencer

It all depends on the language....

// comment in JavaScript
' comment in VBScript/VB.Net
// comment in C/C++/C#

My guess is, it's one of the above.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
 
K

Kevin Spencer

HTML isn't programming. It's markup. For future reference!

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
 
K

Karen

Thanks for clarifying! I knew that, I just didn't say it right ;) BTW, I
figured it out. Actually I just went in and copied the line that I wanted and
inserted it as a comment and then deleted the actual code. It worked! The
only thing that I have to include is the <!-- before my code and then >
afterwards and it puts it in as a comment. :) Thanks for the reply!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top