How can I properly add a line of code in a comment like this
I like it more grey than
test test if that is possible.
Or if there is another way to define code in a comment to make it more clear I'd like to hear it.
In comments you are limited to just
test test which is generated by the code:
There is no way to get the larger code bar like in your example or in the line above this in a comment. This is because the comment system doesn't work at all with line breaks, etc. which the code bars like the above need.