John Kennedy actually said...
My opponent, of course, is reluctant to admit around election time that he is a Republican.
Context
Excerpts from the Speech of Senator John F. Kennedy, Fair Grounds, Louisville, KY
10/04/1960