There is Plugins: Source code viewer based on Scintilla (although it doesn't seem to be maintained).
Another option is the Monaco plugin that comes with PowerToys (also works in File Explorer's viewer), but the last few times I tried that it was so bad (long delays, not showing anything at all for some simple files) I made Opus block it by default. Maybe it's better now though.