That is an really unneeded comment if(textVisible) already tells exactly the same. You should always try to make the code speaking for itself and only keep comments where the reader cannot not read something from the code.