Fixes some code comments in state.go.