the debugger take the comment line

i try to modify with comments lines and put the new ones below, but when i see the log, the debugger take the comments like commands, here is an example

2023-05-24 02:29:16,086:   File "/home/w0l7/blog/", line 84, in html_content

2023-05-24 02:29:16,086:     """lang = request.accept_languages.best_match(supported_languages)"""

with # comments its the same

2023-05-24 02:29:16,086:     #lang = request.accept_languages.best_match(supported_languages)#

Could you show the full error message?