Can you pause Sync and temporarily remove any code blocks from the note? Then resume Sync?
Does the same happen?