Possible Duplicate:
How about newlines within comments?
When posting a comment in stackoverflow how do I add newlines? I pasted some multi-line code example and stackoverflow stipped the newline characters and the code looks ugly!
Possible Duplicate:
How about newlines within comments?
When posting a comment in stackoverflow how do I add newlines? I pasted some multi-line code example and stackoverflow stipped the newline characters and the code looks ugly!
From How do comments work?:
Comments are intentionally short, having maximum length of 600 characters, and allow only limited markup.
As such, they intentionally do not support newlines either.
You can use the help
link next to a comment box to see what is supported; from the comment formatting help:
Comments support only bold, italic, code and links; in addition, a few shorthand links are available.
code blocks
on to their own line if they exceed more than about 40% of the column width.
This is a question for Meta/FAQ, but you can use `
to delimit a code-portion in comments.
This is an
`example`
if (args.Length > 0) { bool connected = bool.Parse(args[0]); string connectedString = connected ? "Connected" : "Not Connected"; }