How can I input ctrl+` (grave accent)?
Some keyboard layouts (like Finnish, but not Danish) have a normal backtick under ⌥⇧´, so for example ⌃⌥⇧´ opens the console in Sublime Text.

If you don't want to switch to another keyboard layout, you can use Ukelele to modify the Danish layout. See this question.