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.