1

A new line can be started in a question text box by double enter or double space. But... how to start a new text line in Comments to any SO topic?

And, how to start a new line in Code section of such Comments?

0

1 Answer 1

12

You don't.

7
  • 3
    While the answer was apparently given in the above linked thread, I join these members who suggested to add "new line" formatting to comments for the same reasons as they stated. Its also interesting to note, the original question didn't seem to popup in search results, while posting this one, unless I missed it.
    – sambul35
    Jul 7, 2016 at 15:46
  • 1
    Comments are supposed to be rather short one liners, we don't want to be able to allow formatting to that level.
    – JonH
    Jul 7, 2016 at 15:53
  • 1
    I give you an example. If someone answered my question on SO, and then I corrected the question code to reflect the solution for others benefit, I want to post such code as Comment rather than as Answer, since it wasn't me who answered the question, so it would look unethical for me to claim the answer.
    – sambul35
    Jul 7, 2016 at 17:29
  • 1
    @JonH - I conceive short comments that would be more readable if a newline were allowed for. E.g., this. Feb 22, 2019 at 7:33
  • 5
    If you want short one liners limit the character count. But if you want to make a structured reply new lines are VERY useful. Is there a way to poll this.?
    – BeNice
    Jun 18, 2020 at 10:36
  • 3
    This is terrible for languages such as Python. Python does not allow inline snippets such as if condition: doSomething(), which makes them really difficult to discuss in SO comments.
    – rebane2001
    Dec 8, 2021 at 14:20
  • I was also looking for this and came across this thread. Just reading some of the responses which outright rejects this request\question is beyond my belief. How could you say that, one doesn't need a linebreak or formatted response? as the rest said, it's fairly important to add a comment using formatted text esp. when it comes to a code snippet.
    – Dev
    Feb 23 at 1:49

Not the answer you're looking for? Browse other questions tagged .