How is comment widget controlled
It's not being controlled, it controls.

The widget allows you to edit the comment status of a given node/entity. That is stored in the comment field, and the comment formatter, that displays the comments/comment form is then using it to decide what to show.