Russia and China are not creating a military alliance and the cooperation between their armed forces is "transparent", President Vladimir Putin said in comments broadcast on Sunday, days after hosting Chinese leader Xi Jinping in the Kremlin.

Putin and Xi professed friendship and pledged closer ties, including in the military sphere, during their March 20-21 summit, as Russia struggles to make battlefield gains in what it calls a "special military operation" in Ukraine.

"We are not creating any military alliance with China," Putin said on state television. "Yes, we have cooperation in the sphere of military-technical interaction. We are not hiding this.