My muscle memory courtesy of Visual Studio is that if I have a comment, position the cursor within that comment, and hit enter, the line splits and the new line is assumed to be a continuation of the comment. So e.g.:
# This is a comment that has gotten a bit stem-winding so I want to break it into two lines.
... if I put the cursor at the start of the word break and hit enter I should get this:
# This is a comment that has gotten a bit stem-winding so I want to
# break it into two lines.
However, Objo Studio's editor does not insert the comment character.
I think in this scenario, it's almost certain the user intent is to split the rest of the line as a comment continuation. And I suspect this behavior isn't unique to Visual Studio; I'm sure I've seen it in Ryder and elsewhere.
Although Objo doesn't have block commenting, even in C#, when I'm not using that feature even though available, this is the editor behavior.
The other scenario is where a comment comes at the end of a line of code. Here, Visual Studio does this:
int nextCustomerRowIndex = -1; // Blah blah blah blah-de-blah and then some
This becomes:
int nextCustomerRowIndex = -1; // Blah blah blah blah-de-blah
// and then some
I don't personally care about this use case (I had to try it out to even see what the behavior was) and Objo's editor won't leave any attempt at custom indenting alone anyway, so I am only asking for this on dedicated comment lines.