Use a comma to set off the words yes and no (e.g., Yes, thank you), to set off a tag question from the rest of the sentence (e.g., It’s true, isn’t it?) and to indicate direct address (e.g., Is that you, Steve?).
- Conventions of Standard English
Within the context of authentic English writing and speaking…