Hamilton was one of the standout performers of a wet final qualifying segment on Friday afternoon, taking second behind McLaren's Lando Norris.
The seven-time world champion said his car "came alive" in the wet, but he's realistic about its potential if Saturday morning's sprint is held in dry conditions.
"It was pretty tricky conditions. Not a lot of grip for everyone, but so happy," he told F1 TV.
"As soon as I saw the rain coming, I was so happy because in the dry conditions, we are not quick enough.
"So, when the rain came I thought I would have a bit of a better opportunity and that's when it all came alive."
"If it is like that [in the sprint race], then we have a chance of being somewhere up there. If it's dry then naturally, the Ferraris and Red Bulls will come by. Maybe we can hold off some of the others."
Team boss Toto Wolff was more optimistic about Mercedes' chances on Saturday, but cautioned that because of the sprint format's single practice session, there was limited data available on China's pecking order.
"We should have the pace in the dry," he told Sky Sports F1. "I don't think we have the pace against the Red Bulls, but we do, I think, against the McLarens.
"Having said that, it's also we don't know. Because we have no data from FP1, it could be that they are much quicker too, or the other way around."
Mercedes struggled for pace both in the dry SQ1 segment and amid a late drizzle in SQ2, which saw George Russell eliminated in 11th.