As suggested by @001's comment, my issue was finally resolved by prepending "r" in the beginning of the comment, just before the quotation marks, to turn it into a raw string.