He said "I love you!" but we aren't dating?

me and this one other guy have been talking a lot more and flirting a lot. but neither of us have told the other person they like them. its complicated.

everyone was walking out of the school, and as I was about to leave I hear someone call my name. it was him and he wanted a hug before we left.

somehow he spun me around and he hugged me from behind. I said I had to go and laughed but he said.."but I love you" and wouldn't let me go until I said it back...then I think he kissed my neck lightly but I'm not exactly sure.

he was messing around, right? or did it actually mean something different?
He said "I love you!" but we aren't dating?
Post Opinion