When adding an inline comment to VB.NET code, the following lines are colored as strings:
dim a as integer a += 1 'And here is the comment which turns the next line(s) into strings. dim b as integer = a * 2
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.Sign up to join this community
As long as your question is correctly tagged vb.net it should be fine in the final question.
The preview will show a more generically rendered code preview, so don't hold that as gospel.