Does it sound gay if a guy tells a girl ''sweet dreams''?

If you girls told a guy you were going to bed and then he messaged you back saying ''sweet dreams x'' does that come across as gay? Trying too hard? Obvious that he kinda likes you?
Does it sound gay if a guy tells a girl ''sweet dreams''?
Post Opinion