So if this stands by itself is "Trying" a gerund or a participle. So in my opinion there are two ways to go about this. It could definitely be a gerund (Trying to be happy is always good) but I want to know if it being a participle where the agent is omitted is also possible. (It would be a progressive tense be + -ing form)
Imagine something like:
Person A "What are you doing?"
Person B "(I am) trying to be funny"
as a short answer which is still sufficient in conveying the intended meaning. Maybe I am completely mistaken here and it probably doesn't even matter if it's a gerund or a participle but I like to truly understand the things I see and say so I hope someone can make sense of this.