Does a loss carry forward expire for a single person when they become married and file jointly?

I was single in 2016 and had a large unused loss carry forward. I married in 2017. Do I enter this amount on Form 1040, Line 21 as in the past? Utilization of the LCF will result in a negative AGI for us when filing jointly.