Is he flirting?

First off I've never been in a relationship cause I'm unfortunate in my looks. But this guy I've been into for over 2 years said that I'm really sweet when I showed concern about something. Than told me he wasn't really online and kinda teased by saying "as you have seen lol" I was told men flirt through teasing so I'm just curious. Cause he's playfully teased me a couple times. Guys never show interest so if he's flirting it's shocking. I can't just ask either cause I'm scared of rejection...
Updates
+1 y
by the way I don't believe he's attracted to me cause no guys ever felt the same so just guess I'm hopeful even though I shouldn't bother.
Is he flirting?
Post Opinion