Should be `@param {?boolean} state` since you can pass null too. Might be nice to have a description that you can use a boolean value to set and null to toggle the state.

Also, you could the empty line.