see [16.0.25] Code folding doesn't work for nested case statements - #4 by christian.feuz for a workaround