Comma sounds better. I was thinking this was the end of the whole string. Comma makes it more obvious that you just mean the end of a given entity in a possibly very long stream of entities.