The gain was the first since July and compared with a fall of $33.93 billion in October.
The yuan eked out a 0.2 percent rise against the dollar in November, the first monthly gain since March.
Market sentiment improved on news that U.S. President Donald Trump and his China counterpart Xi Jinping would meet to discuss trade and other issues on the sidelines of a G20 summit at the end of that month.
Trump and Xi agreed to a 90-day truce in the trade war, putting further tariff action on hold while the two sides resumed negotiations to bridge their differences.
(Reporting by Beijing Monitoring Desk; Editing by Kim Coghill)
(With inputs from agencies.)