Commas in a macro make that particular shaman "skip" that button press. In other words, if there's a comma at that point in the cast sequence then the button press will be ignored and it will go to the next step in the sequence.

For example,

/castsequence ,,Spell

It will take 3 button presses to cast "Spell".