Fixed #5977: Add cc.sys.platform and improve inline document