Did you see this related feature request? It’s not the same but some of the discussion might be useful to you. The original poster used a CSS snippet to disable link clicking — I’m not sure if one could disable link code revealing, but it might be worth exploring.
I recommend adding your thoughts to the feature request you found, to show support for it and highlight any use cases not already covered. That will also make the post more visible for a while, so maybe someone else who wants the same thing will see it and add their support.