John Kennedy actually said...
The treaty in no way limits the authority of the Commander-in-Chief to use nuclear weapons for the defense of the United States and its allies, if a situation should develop requiring such a grave decision.
Context
Letter to Senate Leaders Restating the Administration's Views on the Nuclear Test Ban Treaty.
09/10/1963