Is my coworker flirting with me ?

I'll start off by saying I'm not interested, just curious. I've never been very good at distinguishing flirting from friendly conversation, so I was looking for some insight.

What he does:

- My coworker is newly engaged but always complains to me about his fiancé. I mean ALWAYS. One time his venting got so intense that he said, "she thinks she's got it all figured out, but we're not married yet!" He always instigates these conversations.

- He teases me often about my own relationship, which I've talked about with him solely because I felt obligated after all the times he shared details about his own

- He emails/messages me sometimes. Recently, I wasn't feeling very well and he sent me an email with the subject ":(" wanting to know what was wrong, and telling me to cheer up.

- We joke around a lot, almost always in an appropriate way. However, sometimes he'll turn the things I say into sexual innuendos. (Ex. I said, "I need you," and then explained that I'd left my access card at home and needed him to let me into our office. He smiled and said, "well, thanks for clarifying.")

- He's told me on more than one occasion that I am like his "second girlfriend."

- He's mentioned various times that I make his fiancé jealous, even though all I've ever done is become friends with him on Facebook (we never chat or anything) and texted him for work-related things. When he tells me the stories of his fiancé's reactions, he usually just jokes around about it and never takes it seriously. Once he actually said, "I might as well be having the affair to get the good end of this deal!"

What he doesn't do:

- We don't talk outside of work except for a few rare occasions.

- He also complains about his engagement to his friends at work.

What do you think?