But if you spell that `assert(false)` instead of as a comment, the intent is equally clear, but the behavior when you're wrong is well-defined.
Better yet, `assert(false, message)`, with the message what you would have written in the comment.
I think you might have missed that they threw an exception right under the comment.
I agree that including that assert along with the comment is much better. But the comment alone is better than nothing, so isn't without value.