Is it safe to invest in cryptocurrency?

Compared to other asset classes such as stocks and government bonds, investing in cryptocurrency can be considered very risky.