what happens to house loan in Case of earthquake?

if i buy flat in underconstruction building and taken a good amount of loan paid to the builder and if the building collapses due to earthquake or other manuel disasters then is our loan is waived off or what if flat having no insurance cover?