Often it is useful to add a reason with a state change: why was this reopened, what is this a duplicate off, where is the patch available for review.
Rather than use comments (which are best left for discussion rather than explaining state changes and are a different form anyway which always causes problems) we could prompt the user to fill out a reason field when they change state.