Including "If" suggests what's been claimed isn't the case and only when it does become the case, will you *still choose* not to tell them." Telling them in a more straightforward manner like "I know and I choose not to tell you" is a better option.
@@starssunff"If" doesn't suggest it is or isn't the case, it's neutral. An example: "If I go to the store, I'll pick up some milk" this doesn't suggest you have no intention to go to the store, rather you may or may not go to the store, just as "if I knew" suggest you may or may not know.