Definitely check with your CPA on whether you can 1031 out of your former primary residence.
Are you kicking in additional capital on top of the 1031 proceeds to take the commercial property down? What's the cost of debt? What's your cash on cash both before and after factoring in the 1031 proceeds? Do you have diversification via other properties in your portfolio or would this one property be the lion's share?
I personally prefer a more diversified approach to investing and my group tends to take down multi-tenant assets but that's our comfort zone. If you're in the process of building your portfolio, it will be impossible to be well diversified.
If you are holding long term and you end up going commercial, consider a cost seg study to accelerate your depreciation. This is IMO one of the top reasons to go commercial. Otherwise, you may be better off diversifying into multiple residential properties assuming you haven't hit the limit for Fannie/Freddie loans. Doing so will get you a fixed rate, fully amortizing 30 yr loan with better rates than commercial under 99% of cases which is especially attractive if you think that rates will be higher by the time your commercial loan is due assuming you are financing.