My keyboard has the tilde ~ key in a weird position, so I rebinded it to “Scroll Lock” key. I can toggle it off and on within the Editor as seen in the screenshot.
There’s a way to redfine the key used to bring up the console. I can’t tell you exactly what that is but I do know it is in project settings somewhere. Sometimes the ` key doesn’t work as expected so it helps to redefine it to something else.