Adding comma to variable?

I'm not sure that I understand your question/issue, but a KM Variable can definitly contain a comma (",") character.

Perhaps this would help:
"Import TextExpander Group" Macro