Trincao plays alongside Portugal captain and all-time leading goalscorer Ronaldo at international level, while he joined Barcelona great Messi at Camp Nou this season.
Ronaldo and Messi have claimed the Ballons d'Or 11 times between them, with the latter the recipient of a record six gongs.
Trincao was asked about the superstar duo following Portugal's goalless draw with Spain in Wednesday's friendly.
"I am extremely proud to be able to play with both [Ronaldo and Messi]," the 20-year-old told RTP3 post-match in Lisbon.
"It is impossible to say who is the best."
Ronaldo and Renato Sanches both rattled the crossbar in the second half against Spain, as the two countries faced each other ahead of upcoming Nations League fixtures.
Portugal travel to face world champions France on Sunday, the day after Spain host Switzerland.
"A difficult match against a very organised team. It is very good to start from this match against such a strong team," Trincao said as he reflected on the match, which saw him start in a front three alongside Ronaldo and Andre Silva.
"I will just do my job, I am prepared to play, just like my team-mates, then the decision is up to the master."