I think you want to start the spoiler with:
`spoiler
SPOILED TEXT
And then end it with
`
So that would equal:
spoiler
Balls
Do that without the tilde.
Edit: I also just noticed that, at least on desktop, a "spoiler" button is there when you make a comment (it's the triangle exclamation mark icon).
That's something I hadn't considered. Thank you.