It is a myth that ‘Muslim’ countries are never secular. Muslims do not tolerate minorities in ‘their’ countries but demand minority rights in other countries.
The world’s largest Muslim majority country is Indonesia (total population approximately 25 crores, larger than Pakistan). Indonesia is a secular democracy. Indeed, its population is almost a mirror image of India’s – 88% Muslim, 9% Christian, 3% Hindu, 2% Buddhist, etc. (as compared to India, which has a population that is 80% Hindu, 13.4% Muslim, 2.3% Christian, etc.) Indonesia’s national slogan is “Unity in Diversity.” Yes, Indonesia has occasional riots and bomb blasts, but so does India.
In reality the majority of Muslim majority countries in the world are secular. Several large examples include Turkey, Mali, Syria, Niger, and Kazakhstan. Despite having Islam as ‘state religion’, Bangladesh’s government is also secular in law. The same is true of many other countries. Only six countries in the world claim to use Islam as the basis of their law making – and their total population is roughly the same as the population of Indonesia, Turkey and Kazakhstan combined. In other words, the vast majority of Muslim majority countries are secular, and the vast majority of Muslims live under secular governments.