Say I wrote a spy novel, in which some character refers to my protagonist as "Mr Bond" suggesting that he thinks of himself as a "master spy" like the movie character. Would that infringe a trademark on "James Bond" (assuming, for the moment that that name is trademarked)? No it would not. Or suppose my main character mentions having met Bond years ago during training, or on a previous mission. Would that infringe? Again, No. Or suppose I write a brief, one-paragraph walk-on scene in which the James Bond character appears? Infringement? Again, no. Or suppose my spy character is waiting for a meeting, and stops for a meal, and i mention that he has a Coke. Would that infringe the trademark on Cocacola? No it would not. All of these are forms of nominative use, and none of them are "uses in commerce", so there is no trademark liability.
(Interestingly, there was a series of stories set in an alternate world, written by Randall Garrett in the 1960s-90s. Some of these are spy stories, and his major spy character is "Sir James le Lien" Now a "lien" is a French-derived legal term for a secured debt. The most common English-derived term for a (slightly differently) secured debt is "bond". No one ever tried to sue Garrett for trademark infringement.)
The game "Cards Against Humanity" includes, as I understand, many brief references to real-world and fictional things and characters, some of which are trademarked. But none of these uses are "in commerce" and no reasonable person would be confused into thinking that the game was sponsored or endorsed by any of the trademark holders, nor are these trademarks being used to promote or advertise anything. So, No infringement. Now if the game were advertised as "The only card game to feature super-spy James Bond", that might well be infringement. at least a case could be made for infringement then. But as it stands? I don't think so.