In the workflow transition(s) to the Close status, look at the Validators if there's something that would prevent an issue from being closed. It sounds like a badly implemented restriction, because logically, you might want to force users to add a comment when closing issues. Not the other way around.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.