Hi Tobias,
Thank you for the information.
C#'s doccomments are actually captured in a very different way due to the nature of the language. They are intercepted by the token reader so that the parser never sees those tokens. Instead, as a new type or member definition is located by the parser, it will check with the token reader to see which lines of doccomments have been collected since the last reaping, and will use those as the doccomment for the type/member. No escapes or anything are processed for these doccomments.
Python is different because the docstring is a string that is positioned right after the start of the member. It can use any of the many Python string syntaxes, which can include various escapes. The parser itself doesn't know it's a docstring and assumes for syntax checking that it's an expression statement. The string's value is read raw and later on the module loader logic assigns that first string within a member body, if present, to the related definition's docstring value. Later on, if that value is ever needed for IntelliPrompt, its delimiters are examined to see what kind it is, and things like character escapes are handled per character. This was only done on the fly as needed to avoid doing extra unnecessary string parsing.
That being said, we will update it for v23.1 to try and clean up the docstring so that it is a nice value for you.