Just use the following code to suit your needs.
It should be noted that I have had issues when not putting in the function part which wraps the comment (i.e // Do some JS in here). An example of the odd behavour is the page reloading and showing some text I was trying to inject into the currently focused element.
RelatedXcode Warnings With Swift
Exchange Issues On OSX
Facebook Invalid Redirect URI
Refresh favicon in browser
Using Gmail With a Custom Domain
OSX Keyboard Icons
Handy Xcode Snippets
Push Segue Without Animation
Library Not Loaded Image Not Found Error