Ok was he joking or being serious?

Me and my close male friend flirt on and off sometimes. the other day we had lunch together and when we were leaving he playfully said to me ‘oh shelly I’d marry you’ . i was stunned just laughed. but deep down what did that statement mean?
Ok was he joking or being serious?
Post Opinion