Basement entranceways, covered or uncovered, may extend up to six feet into any required side and rear yards, provided that they are connected to the main building and are no higher than 2.5 feet above grade at any point. This exemption shall not apply to front yards, secondary front yards, nonconforming side or rear yard setbacks and nonconforming uses.