Comma Between Identical or Repeated Words
The Comma
Rulebase Summary
Use a comma to separate identical words that appear next to each other if they cause confusion or rereading. If an adjective or adverb is repeated for emphasis, use a comma to separate the pair. Also use a comma between non-identical but similar words that could cause misreading. Some common repetitions (e.g., 'that that,' 'had had') are so familiar they do not need a comma. For clarity, a comma between identical words may be necessary even if it separates a subject from its verb.
Examples
A. Whatever is is the answer I gave.
A. Whatever is, is the answer I gave.
Comma between identical words to prevent confusion.
A. The question is is he competent to stand trial.
A. The question is, is he competent to stand trial.
Comma separates repeated 'is' for clarity.
Style Guide References (1)
Morson's