The style guides and grammar books I have read say that both a comma and a colon are possible and correct. A comma is particularly common before a short quotation. My impression is that a comma is also used more in American English than British English.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.