Actually, it happens in general when there is more than one linebreak between the open and close statements; not only when there are empty lines.