I'm on the fence about function contracts like this. I've seen them for a decade in other languages, but never really used them, so I can't say how I feel about them.
But having them be inside comments is just weird.
But having them be inside comments is just weird.