Disabling comment formatting in Jira

Today, I wanted to share a proposed config file with some coworkers via a Jira ticket. Unfortunately Jira was eating lots of the characters in there, treating them as special formatting characters. The fix is nice and easy, you just need the {noformat} declaration.

{noformat}
// Write your code!
{noformat}

You can see the docs for this (and more!) on this Jira documentation page. I decided to reproduce it here as it took me a while to find that page