How do I disable comments on a task?

Go to your task's detail page and click the "Edit" button. Once you're in editing mode, tick the box titled "Disable comments" and hit the "Save" button. All existing comments will be preserved, but new comments won't be allowed.