nope, sorry. You'll need to continue from inside the loop itself, in the Main function. the continue in the func() has no refference.
currently, if that is the extent of the code, the continue is pointless. If however there is more code you're not showing us, after the call to func(), that you want to skip in that case, then
if (i==5)
{
func();
continue;
}