Add GH syntax highlighting to code samples

Also corrected the CF comment prefix.