Deducting spouse medicare expenses on schedule C

An individual with  sole proprietor business income can deduct both personal health insurance costs and spousal medicare expenses on schedule C, provided Schedule C  income is greater than theses costs.

My question is:

During a period when the sole proprietor is participating in a COBRA plan and NOT claiming the personal health insurance deduction, is it still allowed to deduct the spousal medicare expense on Schedule C.