Can I have a comma followed by a word at the end of a sentence?

Personally, I'd prefer a colon in the example given, but I have no issue with the comma either. Both work in my eyes; it's just a stylistic thing mainly.