Our teacher, the Rema, wrote in section 5: Matzah that was folded in the oven and is stuck, to the extent that the fire does not rule there—we forbid it during Pesach. However, the rest of the matzot in the oven are permitted. And before Pesach, one need only forbid the place that is stuck. Thus far his words. And specifically in a case where it is truly stuck, meaning that part of it folded over another part and truly stuck together, for then the fire does not enter between them. But in cases where they are adjacent without sticking, there is no concern at all (Taz subsection 3 and Magen Avraham subsection 11 in the name of the Maharil). And there is one who forbids if its surface did not crust (ibid. in the name of the Bach), as this is a sign that it was not baked there. And this applies to a folded matzah where there is a visible flaw before us, but regarding an ordinary matzah, there is no concern if its surface did not crust (ibid.), for sometimes there is dough that does not take on a crust. And before Pesach, one need only forbid the place that is stuck, and he casts it away. And even if there is not sixty in the entire matzah against the place that is stuck, since it is not absolute chametz, and it is not something that melts and becomes mixed, and it did not spread throughout the entire matzah. And there are those who require sixty, but the primary view is like the first opinion, for so the great authorities agreed (Taz subsection 5, and Chok Yaakov subsection 18, and see Magen Avraham subsection 12). And a folded matzah that touched its fellow at the place of the fold—it forbids it to the extent of a peel, but not at the place of the fold—it does not forbid (ibid.).
כתב רבינו הרמ"א בסעיף ה: מצה שנתכפלה בתנור ודבוקה, עד שאין שולט שם האש – אוסרים אותה תוך הפסח. אבל שאר מצות שבתנור – מותרים. וקודם פסח אין לאסור רק מקום הדבוק. עד כאן לשונו. ודווקא בדבוקה ממש, כלומר שנתכפלה מקצתה על מקצתה ונתדבקה ממש, דאז אין האור נכנס ביניהם. אבל בסמוכים בלי דיבוק – אין לחוש כלל (ט"ז סעיף קטן ג ומגן אברהם סעיף קטן יא בשם מהרי"ל). ויש מי שאוסר אם לא קרמו פניה (שם בשם ב"ח), דזהו סימן שלא נאפה שם. וזהו בכפולה שיש ריעותא לפנינו, אבל בסתם מצה – אין חשש בשלא קרמו פניה (שם), דלפעמים יש בצק שאינו מקבל קרימת פנים. וקודם הפסח אין לאסור רק מקום הדבוק, ומשליכו. ואפילו אין ששים בכל המצה נגד מקום הדבוק, שהרי אינו חמץ גמור, ואינו דבר הנימוח ונבלל, ולא נתפשט בכל המצה. ויש שמצריכין ששים, והעיקר כדעה ראשונה, דכן הסכימו הגדולים (ט"ז סעיף קטן ה, וח"י סעיף קטן יח, ועיין מגן אברהם סעיף קטן יב). וכפולה שנגעה בחבירתה במקום הכפל – אוסרת כדי נטילה, ושלא במקום הכפל – אינה אוסרת (שם).