John Kennedy actually said...
Let me say that if the question is would I permit my religions affiliation to interfere with my devotion to the Constitution and my responsibilities under the Constitution, I would not.
Context
Question and Answer Period Following Speech of Senator John F. Kennedy, Armory, Springfield, IL
10/02/1960