The solar boom in China played a major part in the global clean energy investment surge in 2017 which reached its second-highest ever figure at $333.5 billion, according to a recent Bloomberg New Energy Finance (BNEF) report.