If you weren’t such a simplord you’d know you’re allowed to hug a girl you’re close with if she’s heartbroken over her loved one being near death even if she isn’t your girlfriend lol.
That's right, Kazuya, don't touch her! It's 2020 (well, maybe 2019 in your time line, but still), everyone knows how it goes: you touch an actress and the next moment you're being called to court on the basis of sexual harassment.
Use your mouth. Say the words of comfort. No need to be touchy-feely.