Let's make sure it is an official version, first. Where did you download it from?
The question above is extremely valid. In the latest version available both from qb64.org and [abandoned, outdated and now likely malicious qb64 dot net website - don’t go there] the lines being reported are a mere IF statement and a comment, which wouldn't cause a module error like that.
I'd suggest you to download it again from the home page (either stable or development branches), unpack
all the contents of the zip to a location of your choice where you have write permissions (I usually choose my desktop, but that's me),
make sure your antivirus software is instructed to ignore QB64's folder (you didn't say you tried that in your post above) and let us know if that solved the issue.
If nothing works, then we'll have to investigate further, you may have found a genuine bug.