In JavaScript reflection with .toString(), comments are preserved.
const hello = () => {
// returns "Hello"
return 'Hello';
};
hello.toString(); // '() => {\r // returns "Hello"\r return "Hello";\r}'
Note the comment in the returned string.