What does it mean when he jokingly asks you to marry him?

Anonymous
Ok so I've become good friends with a guy I work with and he flirts with me pretty much and off and on I wonder if he's trying to send messages that he likes me, or if I am just misreading his friendship to me. The other day out of the blue he said "will you marry me?" and I said "yes" (I didn't know how to respond, it happened so quickly) and then I was all, "you have to give me a better proposal than that though" and he was all "oh I will, I'll do something crazy, I just had to make sure you'd say yes first because one time I saw a guy propose to a girl at a spurs game and she said no.." I'm confused as to why he asked me this question. What is he trying to get across? Help?
What does it mean when he jokingly asks you to marry him?
1 Opinion